package Exam.domain;



public class PhoneAddress {
private String  id;
private String name;
private String phonenum;
private String position;
private String company;

    public PhoneAddress() {
    }

    public PhoneAddress(String  id, String name, String phonenum, String position, String company) {
        this.id = id;
        this.name = name;
        this.phonenum = phonenum;
        this.position = position;
        this.company = company;
    }

    public PhoneAddress( String name, String phonenum, String position, String company) {

        this.name = name;
        this.phonenum = phonenum;
        this.position = position;
        this.company = company;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    @Override
    public String toString() {
        return "PhoneAddress{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phonenum='" + phonenum + '\'' +
                ", position='" + position + '\'' +
                ", company='" + company + '\'' +
                '}';
    }
}
